package com.woniuxy.finance.service;

import com.woniuxy.commons.utils.ResponseResult;
import com.woniuxy.finance.entity.Transfer;

import java.math.BigDecimal;
import java.util.List;

/**
 * @ClassName TransferService
 * @Description TODO
 * @Author Administrator
 * @Date 2022/6/10 14:27
 * @Version 1.0
 */
public interface TransferService {

    ResponseResult<List<Transfer>> findAll();

    ResponseResult<List<Transfer>> findAllByWeek();

    ResponseResult<List<Transfer>> findAllByMonth();

    ResponseResult<List<Transfer>> findAllByDate(String date);

    ResponseResult updateOne(Transfer transfer);
    //转账总额
    BigDecimal eftSum();
    //转账笔数
    int eftCount();
}
